#include"SeqStack.h"

int main()
{
	SeqStack seqStack;
	InitialStack(&seqStack);
	PushStack(&seqStack, 1);
	PushStack(&seqStack, 2);
	PushStack(&seqStack, 3);
	PrintStack(&seqStack);
	int length=GetStackLength(&seqStack);
	for(int i=0;i<length;i++)
	{
		double dou;
		PopStack(&seqStack, &dou);
		cout<<dou<<endl;
	}
	return 0;
}